//
//  ZXLRadioListModel.m
//  EPA
//
//  Created by 朱兴隆 on 16/4/21.
//  Copyright © 2016年 朱兴隆. All rights reserved.
//

#import "ZXLRadioListModel.h"

@implementation ZXLPlayInfo
#pragma mark - ZXLPlayInfo

- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    
    if ([key isEqualToString:@"authorinfo"]) {
        [self setValuesForKeysWithDictionary:value];
        NSLog(@"+++%@",value);
    }
}
- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
}
@end
@implementation ZXLRadioListModel
#pragma mark - ZXLRadioListModel
- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"playInfo"]) {
        self.playInfoModel = [ZXLPlayInfo new];
        [self.playInfoModel setValuesForKeysWithDictionary:value];
    }
}
- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
}

@end
